pikto commited on
Commit
f1ed0fa
·
1 Parent(s): bb3cb93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -3,6 +3,9 @@ import gradio as gr
3
  import ast
4
  import requests
5
 
 
 
 
6
  from theme_dropdown import create_theme_dropdown # noqa: F401
7
 
8
  dropdown, js = create_theme_dropdown()
@@ -124,10 +127,6 @@ with gr.Blocks(theme='pikto/theme@>=0.0.1,<0.0.3') as pan:
124
 
125
  with gr.Tab("Flip Image"):
126
  #Using Gradio Demos as API - This is Hot!
127
- API_URL_INITIAL = "https://ysharma-playground-ai-exploration.hf.space/run/initial_dataframe"
128
- API_URL_NEXT10 = "https://ysharma-playground-ai-exploration.hf.space/run/next_10_rows"
129
-
130
-
131
  #get_next10_images(response_dict=response_dict, row_count=9)
132
  #position: fixed; top: 0; left: 0; width: 100%; background-color: #fff; padding: 20px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
133
 
 
3
  import ast
4
  import requests
5
 
6
+ API_URL_INITIAL = "https://ysharma-playground-ai-exploration.hf.space/run/initial_dataframe"
7
+ API_URL_NEXT10 = "https://ysharma-playground-ai-exploration.hf.space/run/next_10_rows"
8
+
9
  from theme_dropdown import create_theme_dropdown # noqa: F401
10
 
11
  dropdown, js = create_theme_dropdown()
 
127
 
128
  with gr.Tab("Flip Image"):
129
  #Using Gradio Demos as API - This is Hot!
 
 
 
 
130
  #get_next10_images(response_dict=response_dict, row_count=9)
131
  #position: fixed; top: 0; left: 0; width: 100%; background-color: #fff; padding: 20px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
132