gmshroff commited on
Commit
3d3e736
1 Parent(s): d74d80d

fixed and working locallly

Browse files
Files changed (2) hide show
  1. app.py +0 -12
  2. out.txt +15 -2
app.py CHANGED
@@ -2,19 +2,8 @@ import gradio as gr
2
  from threading import Thread
3
  import time
4
  import anvil.server
5
- from registration import register,get_register,func_reg
6
- from library import get_file,get_files
7
  import os
8
  anvil.server.connect('55MH4EBKM22EP4E6D5T6CVSL-VGO5X4SM6JEXGJVT')
9
- register(get_file)
10
- register(get_files)
11
-
12
- # with gr.Blocks() as block:
13
- # textbox = gr.inputs.Textbox(label='Function Register')
14
- # button = gr.Button(value="Show Function Calls")
15
- # button.click(get_register,inputs=None,outputs=[textbox])
16
-
17
- # block.launch()
18
  import json
19
  import ast
20
  def my_inference_function(name):
@@ -46,5 +35,4 @@ gradio_interface = gr.Interface(
46
  ''')
47
 
48
  gradio_interface.launch()
49
- # anvil.server.wait_forever()
50
 
 
2
  from threading import Thread
3
  import time
4
  import anvil.server
 
 
5
  import os
6
  anvil.server.connect('55MH4EBKM22EP4E6D5T6CVSL-VGO5X4SM6JEXGJVT')
 
 
 
 
 
 
 
 
 
7
  import json
8
  import ast
9
  def my_inference_function(name):
 
35
  ''')
36
 
37
  gradio_interface.launch()
 
38
 
out.txt CHANGED
@@ -1,2 +1,15 @@
1
- Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
2
- /dev/disk3s5 1942700360 612016464 1270377600 33% 2983574 6351888000 0% /System/Volumes/Data
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Untitled.ipynb
2
+ cursor-ai-project
3
+ dashboard
4
+ data
5
+ embeddings.ipynb
6
+ explore_models
7
+ gmserver
8
+ gmserver.zip
9
+ gmserver_exp
10
+ gmserver_flask_not_working
11
+ gmserver_old
12
+ index.pickle
13
+ llama
14
+ test.py
15
+ trystuff.ipynb