Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -253,10 +253,9 @@ def get_reviews(url):
|
|
253 |
#print(get_reviews(url))
|
254 |
|
255 |
|
256 |
-
asyncio.set_event_loop(asyncio.new_event_loop())
|
257 |
interface = gr.Interface(fn=get_reviews, inputs=gr.Textbox(), outputs=[gr.Textbox(label = 'Real ratings'),gr.Textbox(label = 'Actionable insights')], title='The Topic Magnet',
|
258 |
description='Enter the url of your Amazon reviews to get real ratings and valuable insights')
|
259 |
-
interface.
|
260 |
#app.run(host = '0.0.0.0', debug = True, port = 5000)
|
261 |
|
262 |
|
|
|
253 |
#print(get_reviews(url))
|
254 |
|
255 |
|
|
|
256 |
interface = gr.Interface(fn=get_reviews, inputs=gr.Textbox(), outputs=[gr.Textbox(label = 'Real ratings'),gr.Textbox(label = 'Actionable insights')], title='The Topic Magnet',
|
257 |
description='Enter the url of your Amazon reviews to get real ratings and valuable insights')
|
258 |
+
interface.launch()
|
259 |
#app.run(host = '0.0.0.0', debug = True, port = 5000)
|
260 |
|
261 |
|