Spaces:
Runtime error
Runtime error
added gh api token box
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ inputs = [
|
|
110 |
]
|
111 |
|
112 |
# adding carbon support
|
113 |
-
|
114 |
GITHUB_API="https://api.github.com"
|
115 |
API_TOKEN='your_token_goes_here'
|
116 |
|
@@ -129,7 +129,7 @@ res=requests.post(url,headers=headers,params=params,data=json.dumps(payload))
|
|
129 |
col = st.beta_columns([2, 4])
|
130 |
if col.button("Create a 'carbon' copy"):
|
131 |
res.url
|
132 |
-
|
133 |
outputs = [gr.outputs.HTML(label="Solution")]
|
134 |
|
135 |
gr.Interface(
|
|
|
110 |
]
|
111 |
|
112 |
# adding carbon support
|
113 |
+
"""
|
114 |
GITHUB_API="https://api.github.com"
|
115 |
API_TOKEN='your_token_goes_here'
|
116 |
|
|
|
129 |
col = st.beta_columns([2, 4])
|
130 |
if col.button("Create a 'carbon' copy"):
|
131 |
res.url
|
132 |
+
"""
|
133 |
outputs = [gr.outputs.HTML(label="Solution")]
|
134 |
|
135 |
gr.Interface(
|