mohbay commited on
Commit
c8c76dc
·
verified ·
1 Parent(s): 3870fe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -83,6 +83,16 @@ def search_fatwa(data):
83
  "link2": df2.iloc[top_idx2]["link"]
84
  }
85
 
86
- iface = gr.Interface(fn=search_fatwa, inputs=[gr.Textbox()], outputs="json")
 
 
 
 
 
 
 
 
 
 
87
 
88
  iface.launch(share=True)
 
83
  "link2": df2.iloc[top_idx2]["link"]
84
  }
85
 
86
+ iface = gr.Interface(fn=search_fatwa, inputs=[gr.Textbox(label="text", lines=3)], outputs="json")
87
+
88
+
89
+
90
+
91
+ # iface = gr.Interface(
92
+ # fn=predict,
93
+ # inputs=[gr.Textbox(label="text", lines=3)],
94
+ # outputs='text',
95
+ # title=title,
96
+ # )
97
 
98
  iface.launch(share=True)