Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,7 @@ def predict(text):
|
|
| 46 |
return pipe(text)[0]["translation_text"]
|
| 47 |
|
| 48 |
def main():
|
|
|
|
| 49 |
iface = gr.Interface(
|
| 50 |
fn=predict,
|
| 51 |
inputs='text',
|
|
|
|
| 46 |
return pipe(text)[0]["translation_text"]
|
| 47 |
|
| 48 |
def main():
|
| 49 |
+
load_model("stylegan2-ffhq-config-f","feng2022/Time-TravelRephotography_stylegan2-ffhq-config-f")
|
| 50 |
iface = gr.Interface(
|
| 51 |
fn=predict,
|
| 52 |
inputs='text',
|