focusit commited on
Commit
359d3d0
·
1 Parent(s): 9bc9fe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,11 +1,11 @@
1
- import gradio as gr
2
  from flask import Flask
3
 
4
- gr.Interface.load("models/deepset/roberta-base-squad2").launch()
5
 
6
  app = Flask(__name__) #creating the Flask class object
7
 
8
- @app.route('/api') #decorator drfines the
9
  def home():
10
  return "hello, this is our first flask website";
11
 
 
1
+ # import gradio as gr
2
  from flask import Flask
3
 
4
+ # gr.Interface.load("models/deepset/roberta-base-squad2").launch()
5
 
6
  app = Flask(__name__) #creating the Flask class object
7
 
8
+ @app.route('/home') #decorator drfines the
9
  def home():
10
  return "hello, this is our first flask website";
11