minjibi commited on
Commit
1307787
·
1 Parent(s): 8f99a74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,6 +43,6 @@ def predict(text):
43
  final_str = '\n'.join([f"{i+1}. Question: {s.split('Answer')[0].strip()}\n Answer{s.split('Answer')[1].strip()}" for i, s in enumerate(output)])
44
 
45
  return final_str
46
-
47
  iface = gr.Interface(fn=predict, inputs="text", outputs="text")
48
  iface.launch()
 
43
  final_str = '\n'.join([f"{i+1}. Question: {s.split('Answer')[0].strip()}\n Answer{s.split('Answer')[1].strip()}" for i, s in enumerate(output)])
44
 
45
  return final_str
46
+
47
  iface = gr.Interface(fn=predict, inputs="text", outputs="text")
48
  iface.launch()