Spaces:
Sleeping
Sleeping
Commit
·
f1016de
1
Parent(s):
8b64bd8
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
"""gradio_test.ipynb
|
3 |
-
|
4 |
-
Automatically generated by Colaboratory.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1nr6ieHBAcOKjo04y5MYF-ndbKN7nK2mr
|
8 |
-
"""
|
9 |
-
|
10 |
-
#!pip install gradio
|
11 |
|
12 |
import gradio as gr
|
13 |
|
@@ -65,7 +55,7 @@ outputs = ['dataframe', gr.Textbox(label="Target Variable"), gr.Textbox(label="A
|
|
65 |
|
66 |
#launch the dashboard
|
67 |
demo = gr.Interface(upload_csv, inputs, outputs)
|
68 |
-
demo.launch(
|
69 |
|
70 |
#in some cases this line might produce an error
|
71 |
# in case the above block of code throws error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
import gradio as gr
|
3 |
|
|
|
55 |
|
56 |
#launch the dashboard
|
57 |
demo = gr.Interface(upload_csv, inputs, outputs)
|
58 |
+
demo.launch()
|
59 |
|
60 |
#in some cases this line might produce an error
|
61 |
# in case the above block of code throws error
|