liltom-eth commited on
Commit
4958310
·
1 Parent(s): f348a6e

Delete upload.ipynb

Browse files
Files changed (1) hide show
  1. upload.ipynb +0 -57
upload.ipynb DELETED
@@ -1,57 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": 1,
6
- "metadata": {},
7
- "outputs": [
8
- {
9
- "name": "stderr",
10
- "output_type": "stream",
11
- "text": [
12
- "/Users/tom/miniconda3/envs/gptv/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
13
- " from .autonotebook import tqdm as notebook_tqdm\n"
14
- ]
15
- }
16
- ],
17
- "source": [
18
- "from huggingface_hub import HfApi\n",
19
- "api = HfApi()"
20
- ]
21
- },
22
- {
23
- "cell_type": "code",
24
- "execution_count": null,
25
- "metadata": {},
26
- "outputs": [],
27
- "source": [
28
- "api.upload_folder(\n",
29
- " folder_path=\"/Users/tom/projects/llava-v1.5-7b\",\n",
30
- " repo_id=\"username/my-cool-space\",\n",
31
- " repo_type=\"space\",\n",
32
- ")"
33
- ]
34
- }
35
- ],
36
- "metadata": {
37
- "kernelspec": {
38
- "display_name": "gptv",
39
- "language": "python",
40
- "name": "python3"
41
- },
42
- "language_info": {
43
- "codemirror_mode": {
44
- "name": "ipython",
45
- "version": 3
46
- },
47
- "file_extension": ".py",
48
- "mimetype": "text/x-python",
49
- "name": "python",
50
- "nbconvert_exporter": "python",
51
- "pygments_lexer": "ipython3",
52
- "version": "3.10.13"
53
- }
54
- },
55
- "nbformat": 4,
56
- "nbformat_minor": 2
57
- }