Moibe commited on
Commit
ead3157
·
1 Parent(s): b6140a0

All files ready

Browse files
Files changed (2) hide show
  1. app.py +10 -2
  2. nodes.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  import os
 
3
 
4
  #Funciones adicionales
5
  def authenticate(username, password):
@@ -10,12 +11,19 @@ def authenticate(username, password):
10
  return False
11
 
12
  #Función principal
13
- def runpy(access, name):
14
 
15
  var_secreta = os.environ.get("huggingface_key")
16
  print("Esto es var_secreta: ", var_secreta)
 
 
 
 
 
 
 
17
 
18
- return "Tervetuloa " + name + "!!"
19
 
20
  #iface = gr.Interface(fn=runpy, inputs="text", outputs="text")
21
 
 
1
  import gradio as gr
2
  import os
3
+ import flux_capacitor
4
 
5
  #Funciones adicionales
6
  def authenticate(username, password):
 
11
  return False
12
 
13
  #Función principal
14
+ def runpy(access, content):
15
 
16
  var_secreta = os.environ.get("huggingface_key")
17
  print("Esto es var_secreta: ", var_secreta)
18
+
19
+ print("Welcome...")
20
+ print("Initializing app and servers...")
21
+
22
+ tokens_now, result = flux_capacitor.do(access, content)
23
+
24
+ return tokens_now, result
25
 
26
+ #return "Tervetuloa " + name + "!!"
27
 
28
  #iface = gr.Interface(fn=runpy, inputs="text", outputs="text")
29
 
nodes.py ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ validator = "Moibe/sulku"
2
+ work = "picswap"