feng2022 commited on
Commit
28ec963
1 Parent(s): 40e259d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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',